package com.fs.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@TableName("order_goods")
public class OrderGoods extends BasePojo implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Long id;          //订单id
    private Integer orderId;  //订单id
    private Integer goodsId;  //商品id
    private Integer price;    //订单价格，分
    private Integer num;      //订单数量

}
